package com.iqiyi.pps.epg.api.utils;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * User: rainliang
 * Mail: rainliang@qiyi.com
 * Date: 2014/7/21
 * Time: 21:18
 * Desc: 接口相应实体
 */
public class ResponseObj implements Serializable{

    private String msg;
    private String code;
    private Object data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String toJsonString(){
        return JSON.toJSONString(this);
    }

}
